.body-when-chat {
    overflow: hidden;
}

.chat-sidebar {
    background-color: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 192px;
    width: 246px;
    padding: 0;
}

.chat-sidebar .search-control {
    margin-top: 5px;
}

.chat-content {
    border-left: 1px solid #eee;
    min-height: 400px;
    margin-left: 246px;
    min-height: 100%;
    max-height: 100%;
}


.chat-list {
    overflow-x: hidden;
    overflow-y: auto;
    transition: all .28s cubic-bezier(.4,0, .2,1);
    background: #fafafa;
    position: relative;
}

.chat-list:hover {
    /* overflow-y: auto; */
}

.chat-list-item {
    height: 64px;
    margin: 0;
    padding: 12px 16px;
    overflow: hidden;
    vertical-align: middle;
}

.chat-list-item .user-icon, .chat .user-icon {
    width: 40px;
    height: 40px;
}

.chat-content-item .user-icon {
    width: 42px;
    height: 42px;
}

.chat-list-item .badge {
    /* border-radius: 50%; */
    background-color: #E91800;
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 4px;
    min-width: 20px;
    height: 20px;
    font-weight: normal;
}

.chat-list-item .contact-time {
    line-height: 20px;
}

.chat-list-item .abbreviate-info img {
    width: 24px;
    height: 24px;
}

.chat-search-list {
    z-index: 1;
    position: absolute;
    left: 12px;
    top: 52px;
    width: 222px;
    max-height: 360px; /* = 72 * 5 */
    background-color: #fff;
    -webkit-box-shadow: 0 3px 10px rgba(0,0,0,.23),0 3px 10px rgba(0,0,0,.16);
    box-shadow: 0 3px 10px rgba(0,0,0,.23),0 3px 10px rgba(0,0,0,.16);
    border-radius: 2px;
    border: 1px solid #C9C9C9;
    transition: all .28s cubic-bezier(.4,0, .2,1);
}

.chat {
    overflow: hidden;
    position: relative;
    background-color: #fff;
    height: 100vh;
}

.chat .icon {
    display: block;
}

.chat .icon span {
    vertical-align: bottom;
}

.chat .dashed-icon {
    border: 1px dashed;
}

.chat .solid-icon {
    border: 1px solid;
}

.chat .title-icon {
    border: 1px solid #000;
    background: #d3d3d3;
    padding: 4px 1px 8px 4px;
    display: inline-block;
    vertical-align: middle;
}

.chat .float-container {
    position: absolute;
    top: 0;
    height: 100%;
    border-left: 1px solid #999;
    border-left: 1px solid rgba(0, 0, 0, .2);
}

.chat .panel-footer {
    height: 66px;
    background-color: #d8dcdf;
    padding-bottom: -10px;
}

.chat .title {
    overflow: hidden;
    padding-left: 1px;
}

.chat .title-text {
    display: inline-block;
    max-width: 66%;
    vertical-align: middle;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.chat .list {
    height: 500px;
    overflow: auto;
    padding: 16px 8px;
    transition: all .28s cubic-bezier(.4,0, .2,1);
}

.chat .list .imgViewAble {
    /*vertical-align: middle;*/
}

.chat .load-more {
    display: inline-block;
    padding: 6px 30px;
    font-size: 12px;
    font-weight: normal;
    border-radius: 6px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
}

.chat .chat-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid rgba(231, 76, 60, 0.1);
    position: absolute;
    left: 62px;
    top: 10px;
}

.chat .media-heading + .chat-arrow {
    top: 33px;
}

.chat .chat-arrow-myself {
    border-left: 6px solid #ffd399;
    border-right: none;
    right: 61px;
    left: auto;
}

.chat .content {
    overflow: inherit;
}

.chat .text-content, .chat .img-content {
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    padding: 10px 16px;
    line-height: 1.5em;
}

.chat .img-content {
    max-width: 100%;
}

.chat .content-others {
    float: left;
    word-break: break-all;
}

.chat .content-myself {
    background-color: #ffd399;
    float: right;
}

.chat .emotion-content {
    width: 112px;
}

.chat .channelName-content {
   width:auto; 
   display:inline-block !important; 
   display:inline; 
   margin-top:1px;
   background-color: rgba(231, 76, 60, 0.1);
}

.chat .emotion-content img {
    width: 100%;
}

.chat .attach-content {
    padding-left: 14px;

}

.chat .attach-content .pull-left {
    margin-right: 8px;
}

.chat .attach-content .attach-icon {
    width: 40px;
    height: 40px;
}

.chat .attach-content .attach-name {
    max-width: 250px;
}

.chat .forward-content {
    background-color: #fff;
}

.chat .forward-content {
    background-color: #fff;
    border: 1px solid rgba(231, 76, 60, 0.1);
    min-width: 300px;
    max-width: 350px;
}

.chat .forward-content.content-myself {
    border-color: #ffd399;
}

.chat .forward-content .forward-content-title {
    font-size: 1.1428571428571428em;
    line-height: 1.5em;
    font-weight: bold;
    max-height: 3em;
    overflow-y: hidden;
    text-overflow: ellipsis;
}

.chat .forward-content .media {
    margin-top: 10px;
}

.chat .forward-content .media-object {
    width: 4.5em;
    height: 4.5em;
}

.chat .forward-content .media-body {
    max-height: 4.5em;
    overflow-y: hidden;
}

.chat .close-icon {
    position: absolute;
    top: 0;
    right: 0;
    color: #a94442;
}

.chat .chat-content-item {
    padding-top: 8px;
    padding-bottom: 8px;
    width: 654px;
    margin-left: auto;
    margin-right: auto;
}

.chat .chat-msg {
    margin-bottom: 14px;
}

.chat .close-icon:hover {
    color: #a94442;
}

.chat .top-title {
    font-family: "微软雅黑";
    font-size: 18px;
    color: #333333;
}

.chat .btn-title {
    background-image: url("../images/icon/group_n.png");
    display: inline-block;
    width: 30px;
    height: 25px;
    margin-top: 8px;
    margin-right: 1px;
}

.chat .btn-title:hover, .chat .btn-title:focus, .chat .btn-title:active, .chat .btn-title.active {
    background-image: url("../images/icon/group_p.png");
}

.chat .top-headr {
    border-bottom: 1px solid #dedede;
    padding-top: 8px;
    padding-bottom: 8px;
}

.chat .conv-panel {
    background-color: #ffffff;
    margin-bottom: -1px;
    width: 800px;
}

.chat .modal-dialog .modal-content {
    width: 800px;
    right: 150px;
}

.chat .btn-ok {
    color: #ffffff;
    background-color: #a9d49f;
    height: 32px;
    font-size: 12px;
    border-color: #a9d49f;
}

.panel-title .user-title {
    font-family: "宋体";
    font-size: 12px;
    color: #333333;

}

.chat .users {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.chat .editor-container-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.chat .editor-container {
    border-top: 1px solid #dedede;
    /* padding-left: 36px; */
    /* padding-right: 36px; */
    width: 654px;
    margin: 0 auto;
    position: relative;
}

.chat .fc-editor-content {
    /* width: 558px; */
    min-height: 75px;
    max-height: 75px;
    padding: 5px;
}

.chat .editor {
    margin-bottom: 16px;
    border: 0;
}


.chat .btn-send-chat {
    /* position: absolute; */
    /* right: 0; */
    /* bottom: 25px; */
    margin-bottom: 16px;
}

.chat .btn-container {
    width: 654px;
    margin: 0 auto;
}

/* .chat .btn-container .dropdown-menu {
    top: auto;
    bottom: 47px;
    left: auto;
    right: 0;
    padding: 0;
    border: none;
    border-radius: 2px;
    min-width: 140px;
} */

/* .chat .btn-container .dropdown-menu li {
    padding: 7px;
} */

/* .chat .btn-container .dropdown-menu li:hover {
    transform: none;
} */

/* .chat .btn-container .dropdown-menu li span {
    display: block;
} */